package com.example.article.service;

import com.example.model.article.dto.ArticleHomeDto;
import com.example.model.article.dto.ArticleInfoDto;
import com.example.model.article.pojo.Article;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.model.mess.ArticleVisitStreamMess;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface ArticleService extends IService< Article > {
    Object queryLikesAndConllections(Integer userId, Date beginDate, Date endDate);
    List<Article> load(ArticleHomeDto homeDto, Short loadType);
    Object loadArticleListV2(ArticleHomeDto articleHomeDto, Short type, boolean firstPage);

    Object loadArticleBehavior(ArticleInfoDto articleInfoDto);

    boolean updateScore(ArticleVisitStreamMess articleVisitStreamMess);
}